import request from "../server/request"
import config from "../config/uri"

export const getStafflist= ()=>{
    return request({
        uri:config.stafflist
    }).then(res=>{
        return res.data.data
    })
}

export const gettemplateList= ()=>{
    return request({
        uri:config.template
    }).then(res=>{
        return res.data.data
    })
}

export const getauthority= ()=>{
    return request({
        uri:config.authority
    }).then(res=>{
        return res.data.data
    })
}